package org.edu.modules.stu.xljk.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-心理健康活动表
 */
@TableName("ve_stu_health_activities")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="心理健康活动表对象", description="ve_stu_health_activities")
public class HqStuHealthActivities extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "活动标题")
    @Length(max = 100)
        private String title;

    @TableField
    @ApiModelProperty(value = "活动情况内容")
    @Length(max = 65535)
        private String content;

    @TableField
    @ApiModelProperty(value = "排序")
        private Integer listNum;

    @TableField
    @ApiModelProperty(value = "学号")
    @Length(max = 30)
        private String code;

    @TableField
    @ApiModelProperty(value = "发布人")
        private String userId;

    @TableField
    @ApiModelProperty(value = "状态：0=禁用，1=启用")
        private Integer status;

    @TableField
    @ApiModelProperty(value = "姓名")
    @Length(max = 30)
        private String name;
}
